curve
Type
keyword
Summary
Designates the paint tool used to draw curved lines. It also specifies, through the style property, that a graphic is a curved line.
Syntax
curve
Description
Use the curve keyword to paint a curved line with the penColor or to change a graphic object to a curved line.
When using the Curve tool, the cursor is a crosshairs shape (over stack windows) or an arrow (anywhere else). This tool is used to draw a freehand line in the penColor (or penPattern).
If you try to paint with the Curve tool on a card that has no images, an image the size of the card is created to hold the painting. If the current card already has one or more images, painting outside the image has no effect.
Setting the style of a graphic to curve makes the graphic into a curved line. Curve graphics, unlike painted curves, can be changed and reshaped: use the points property to change the shape of the curve.
Examples
choose curve tool
set the style of last graphic to curve
Related
command: choose
glossary: object, property, keyword, paint tool
object: graphic
property: style, points, penPattern, penColor
Compatibility and Support
Introduced
LiveCode 1.0
OS
mac
windows
linux
ios
android
Platforms
desktop
server
mobile